/**
 * @Author: wenjingyuan
 * @Date: 2023/04/09/9:03
 * @Description:测试类
 */
public class Test {
    public static void main(String[] args) {
       int[] arr={4,3,8,1,5,6,2};
        int[] arr1= BubbleSort.bubbleSort(arr);
        for (int i = 0; i < arr1.length; i++) {
            System.out.print(arr1[i]+" ");
        }
    }

}
